# $Id: PKGBUILD 65501 2012-02-21 06:42:26Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=recoverdm
pkgver=0.20
pkgrel=3
pkgdesc="helps to recover disks with bad sectors"
arch=('i686' 'x86_64')
url="http://www.vanheusden.com/recoverdm/"
license=('GPL')
depends=(glibc)
source=(http://www.vanheusden.com/recoverdm/${pkgname}-${pkgver}.tgz)
md5sums=('9da9ea7d44f8f94984715eb2ff1ecab4')

build() {
  cd $srcdir/$pkgname-${pkgver}
  make
  install -D -m 0755 mergebad $pkgdir/usr/bin/mergebad
  install -D -m 0755 recoverdm $pkgdir/usr/bin/recoverdm
}
